﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DirectXSim
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            using (RenderWindow renderWindow = new RenderWindow())
            {
                renderWindow.InitializeDevice();
                renderWindow.InitializeInputDevices();
                renderWindow.SetUpCamera();                
                renderWindow.LoadMeshes();                                
                renderWindow.LoadTexturesAndMaterials();
                renderWindow.InitializeFont();
                Application.Run(renderWindow);
            }
        }
    }
}
